//
// Created by alexa on 5/2/2024.
//

#ifndef ARTILLERYSYSTEM_SOLDIER_H
#define ARTILLERYSYSTEM_SOLDIER_H

#include <string>
#include "../_identifiable/Identifiable.h"

using namespace std;

enum Specialization {
    Commander, Gunner, MechanicDriver, Charger
};

string specToString(Specialization specialization);

class Soldier : public Identifiable {
private:
    string firstname;
    string surname;
    string rank;
    Specialization specialization;
public:
    const string &getFirstname() const;

    const string &getSurname() const;

    string getFullname();

    string getRank();

    void setRank(string);

    Specialization getSpecialization();

    void setSpecialization(Specialization);

    Soldier(string firstname, string surname, string rank, Specialization specialization);
};


#endif //ARTILLERYSYSTEM_SOLDIER_H